package com.villaday.idf.model;

/**
 * Created by admin on 2018/8/22.
 */

public class orderEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"activity":{"id":"gdE6qBJkm3","type":13},"actualPrice":289900,"allowBespeak":false,"allowBuy":true,"allowCancel":false,"allowDelete":true,"allowPayment":false,"bespeakMobile":"0755-26657792","createTime":"2018-08-17 19:47:56","currentPrice":359900,"discountAmount":70000,"linkman":"r","mobile":"15366666666","orderNo":"VFHP180817-300003","originalPrice":359900,"paymentMethod":0,"product":{"desc":"整屋130平米 2室1厅2床 宜住4人","id":"g8WOeJ6mK3","imageUrl":"https://img.villaday.com/images/house_26/24602/24602-10-171364.gif?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"惠州檀悦·豪华海景双卧复式套房"},"status":1,"statusText":"已取消"}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * activity : {"id":"gdE6qBJkm3","type":13}
         * actualPrice : 289900
         * allowBespeak : false
         * allowBuy : true
         * allowCancel : false
         * allowDelete : true
         * allowPayment : false
         * bespeakMobile : 0755-26657792
         * createTime : 2018-08-17 19:47:56
         * currentPrice : 359900
         * discountAmount : 70000
         * linkman : r
         * mobile : 15366666666
         * orderNo : VFHP180817-300003
         * originalPrice : 359900
         * paymentMethod : 0
         * product : {"desc":"整屋130平米 2室1厅2床 宜住4人","id":"g8WOeJ6mK3","imageUrl":"https://img.villaday.com/images/house_26/24602/24602-10-171364.gif?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"惠州檀悦·豪华海景双卧复式套房"}
         * status : 1
         * statusText : 已取消
         */

        private ActivityBean activity;
        private int actualPrice;
        private String actualPriceValue;
        private boolean allowBespeak;
        private boolean allowBuy;
        private boolean allowCancel;
        private boolean allowDelete;
        private boolean allowPayment;
        private boolean allowContact;//是否允许联系客服，默认为true
        private String contactMobile;//客服电话
        private String bespeakMobile;
        private String createTime;
        private int currentPrice;
        private int discountAmount;
        private String discountAmountValue;
        private String linkman;
        private String mobile;
        private String orderNo;
        private String currentPriceValue;
        private int originalPrice;
        private String originalPriceValue;
        private int paymentMethod;
        private ProductBean product;
        private int status;
        private String statusText;
        private int walletDeductibleAmount;
        private int type;
        private String checkInDate;
        private String checkOutDate;
        private int reservationMethod;
        private String reservationUrl;

        private String depositAmountValue;//押金
        private String stayDiscountAmountValue;//连住优惠金额
        private String email;
        private String identityNumber;
        private String remarks;

        private OrderStatusBean orderStatus;

        private InvoiceBean invoice;

        public InvoiceBean getInvoice() {
            return invoice;
        }

        public void setInvoice(InvoiceBean invoice) {
            this.invoice = invoice;
        }

        public OrderStatusBean getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(OrderStatusBean orderStatus) {
            this.orderStatus = orderStatus;
        }

        private boolean allowInvoice;//"allowInvoice": "boolean,允许申请发票"

        public boolean isAllowInvoice() {
            return allowInvoice;
        }

        public void setAllowInvoice(boolean allowInvoice) {
            this.allowInvoice = allowInvoice;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getDiscountAmountValue() {
            return discountAmountValue;
        }

        public void setDiscountAmountValue(String discountAmountValue) {
            this.discountAmountValue = discountAmountValue;
        }

        public String getActualPriceValue() {
            return actualPriceValue;
        }

        public void setActualPriceValue(String actualPriceValue) {
            this.actualPriceValue = actualPriceValue;
        }

        public String getCurrentPriceValue() {
            return currentPriceValue;
        }

        public void setCurrentPriceValue(String currentPriceValue) {
            this.currentPriceValue = currentPriceValue;
        }

        public String getDepositAmountValue() {
            return depositAmountValue;
        }

        public void setDepositAmountValue(String depositAmountValue) {
            this.depositAmountValue = depositAmountValue;
        }

        public String getStayDiscountAmountValue() {
            return stayDiscountAmountValue;
        }

        public void setStayDiscountAmountValue(String stayDiscountAmountValue) {
            this.stayDiscountAmountValue = stayDiscountAmountValue;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getIdentityNumber() {
            return identityNumber;
        }

        public void setIdentityNumber(String identityNumber) {
            this.identityNumber = identityNumber;
        }

        private AddressBean address;

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public boolean isAllowContact() {
            return allowContact;
        }

        public void setAllowContact(boolean allowContact) {
            this.allowContact = allowContact;
        }

        public String getContactMobile() {
            return contactMobile;
        }

        public void setContactMobile(String contactMobile) {
            this.contactMobile = contactMobile;
        }

        public int getReservationMethod() {
            return reservationMethod;
        }

        public void setReservationMethod(int reservationMethod) {
            this.reservationMethod = reservationMethod;
        }

        public String getReservationUrl() {
            return reservationUrl;
        }

        public void setReservationUrl(String reservationUrl) {
            this.reservationUrl = reservationUrl;
        }

        public String getCheckInDate() {
            return checkInDate;
        }

        public void setCheckInDate(String checkInDate) {
            this.checkInDate = checkInDate;
        }

        public String getCheckOutDate() {
            return checkOutDate;
        }

        public void setCheckOutDate(String checkOutDate) {
            this.checkOutDate = checkOutDate;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getWalletDeductibleAmount() {
            return walletDeductibleAmount;
        }

        public void setWalletDeductibleAmount(int walletDeductibleAmount) {
            this.walletDeductibleAmount = walletDeductibleAmount;
        }

        public ActivityBean getActivity() {
            return activity;
        }

        public void setActivity(ActivityBean activity) {
            this.activity = activity;
        }

        public int getActualPrice() {
            return actualPrice;
        }

        public void setActualPrice(int actualPrice) {
            this.actualPrice = actualPrice;
        }

        public boolean isAllowBespeak() {
            return allowBespeak;
        }

        public void setAllowBespeak(boolean allowBespeak) {
            this.allowBespeak = allowBespeak;
        }

        public boolean isAllowBuy() {
            return allowBuy;
        }

        public void setAllowBuy(boolean allowBuy) {
            this.allowBuy = allowBuy;
        }

        public boolean isAllowCancel() {
            return allowCancel;
        }

        public void setAllowCancel(boolean allowCancel) {
            this.allowCancel = allowCancel;
        }

        public boolean isAllowDelete() {
            return allowDelete;
        }

        public void setAllowDelete(boolean allowDelete) {
            this.allowDelete = allowDelete;
        }

        public boolean isAllowPayment() {
            return allowPayment;
        }

        public void setAllowPayment(boolean allowPayment) {
            this.allowPayment = allowPayment;
        }

        public String getBespeakMobile() {
            return bespeakMobile;
        }

        public void setBespeakMobile(String bespeakMobile) {
            this.bespeakMobile = bespeakMobile;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getCurrentPrice() {
            return currentPrice;
        }

        public void setCurrentPrice(int currentPrice) {
            this.currentPrice = currentPrice;
        }

        public int getDiscountAmount() {
            return discountAmount;
        }

        public void setDiscountAmount(int discountAmount) {
            this.discountAmount = discountAmount;
        }

        public String getLinkman() {
            return linkman;
        }

        public void setLinkman(String linkman) {
            this.linkman = linkman;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public int getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(int originalPrice) {
            this.originalPrice = originalPrice;
        }

        public String getOriginalPriceValue() {
            return originalPriceValue;
        }

        public void setOriginalPriceValue(String originalPriceValue) {
            this.originalPriceValue = originalPriceValue;
        }

        public int getPaymentMethod() {
            return paymentMethod;
        }

        public void setPaymentMethod(int paymentMethod) {
            this.paymentMethod = paymentMethod;
        }

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getStatusText() {
            return statusText;
        }

        public void setStatusText(String statusText) {
            this.statusText = statusText;
        }

        public static class AddressBean {
           /*
           *
           * "address": {
    "linkman": "string,联系人",
    "mobile": "string,联系电话",
    "address": "string,收货地址"
  }
           * */

            private String linkman;
            private String mobile;
            private String address;

            public String getLinkman() {
                return linkman;
            }

            public void setLinkman(String linkman) {
                this.linkman = linkman;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }
        }

        public static class ActivityBean {
            /**
             * id : gdE6qBJkm3
             * type : 13
             */

            private String id;
            private int type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }

        public static class ProductBean {
            /**
             * desc : 整屋130平米 2室1厅2床 宜住4人
             * id : g8WOeJ6mK3
             * imageUrl : https://img.villaday.com/images/house_26/24602/24602-10-171364.gif?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100
             * name : 惠州檀悦·豪华海景双卧复式套房
             */

            private String desc;
            private String id;
            private String imageUrl;
            private String name;
            private int currentPrice;
            private int quantity;
            private int type;


            public int getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(int currentPrice) {
                this.currentPrice = currentPrice;
            }

            public int getQuantity() {
                return quantity;
            }

            public void setQuantity(int quantity) {
                this.quantity = quantity;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class OrderStatusBean {
            /**
             * "orderStatus": {
             * "content": "string,状态描述",
             * "icon": "string,状态icon图片地址",
             * "name": "string,状态名称",
             * "value": "integer,状态值",
             * "remainingPaymentTime": "long,剩余毫秒数"
             * },
             */

            private String content;
            private String icon;
            private String name;
            private Integer value;
            private long remainingPaymentTime;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Integer getValue() {
                return value;
            }

            public void setValue(Integer value) {
                this.value = value;
            }

            public long getRemainingPaymentTime() {
                return remainingPaymentTime;
            }

            public void setRemainingPaymentTime(long remainingPaymentTime) {
                this.remainingPaymentTime = remainingPaymentTime;
            }
        }

        public static class InvoiceBean {


            /**
             * allowContact : true
             * allowSendMail : false
             * completed : false
             * contactPhone : 0755-26604812
             * content : 旅游费
             * email : 1135520344@qq.com
             * phone : 13632840502
             * state : {"code":0,"icon":"https://img.villaday.com/static/17/img/state/invoice_confirming_3x.png","text":"待开票"}
             * taxpayerNumber : dbdbdbdbdbbd
             * title : dbdb
             * type : 电子普通发票
             */

            private boolean allowContact;
            private boolean allowSendMail;
            private boolean completed;
            private String contactPhone;
            private String content;
            private String email;
            private String phone;
            private StateEntity state;
            private String taxpayerNumber;
            private String title;
            private String type;

            public boolean isAllowContact() {
                return allowContact;
            }

            public void setAllowContact(boolean allowContact) {
                this.allowContact = allowContact;
            }

            public boolean isAllowSendMail() {
                return allowSendMail;
            }

            public void setAllowSendMail(boolean allowSendMail) {
                this.allowSendMail = allowSendMail;
            }

            public boolean isCompleted() {
                return completed;
            }

            public void setCompleted(boolean completed) {
                this.completed = completed;
            }

            public String getContactPhone() {
                return contactPhone;
            }

            public void setContactPhone(String contactPhone) {
                this.contactPhone = contactPhone;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public StateEntity getState() {
                return state;
            }

            public void setState(StateEntity state) {
                this.state = state;
            }

            public String getTaxpayerNumber() {
                return taxpayerNumber;
            }

            public void setTaxpayerNumber(String taxpayerNumber) {
                this.taxpayerNumber = taxpayerNumber;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public static class StateEntity {
                /**
                 * code : 0
                 * icon : https://img.villaday.com/static/17/img/state/invoice_confirming_3x.png
                 * text : 待开票
                 */

                private int code;
                private String icon;
                private String text;

                public int getCode() {
                    return code;
                }

                public void setCode(int code) {
                    this.code = code;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }
            }
        }

    }


}
